package com.itheima.tlias.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
@Data
public class UpdateClazzDto {
    private Integer id; //ID
    private String name; //班级名称
    private String room; //班级教室
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginDate; //开课时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate; //结课时间
    private Integer masterId; //班主任
    private Integer subject; //学科
}
